package com.github.yoojia.flow.util;

/**
 * @author 陈哈哈 yoojiachen@gmail.com
 */
public class Wrap<T> {

    private T mValue;

    public Wrap(T value) {
        mValue = value;
    }

    public Wrap() {
    }

    public void set(T value) {
        mValue = value;
    }

    public T get() {
        return mValue;
    }

    public boolean isNotNull() {
        return mValue != null;
    }
}
